//
//  MyFightersTableViewCell.m
//  u76ho
//
//  Created by m-air-01 on 15/12/28.
//  Copyright © 2015年 LV. All rights reserved.
//

#import "MyFightersTableViewCell.h"

@implementation MyFightersTableViewCell

- (void)awakeFromNib {
    // Initialization code
    _headerImg.layer.masksToBounds = YES;
    _headerImg.layer.cornerRadius = _headerImg.frame.size.width/2;
}

-(void)setIsHiddenRightImg:(BOOL)isHiddenRightImg
{
    _isHiddenRightImg = isHiddenRightImg;
    _rightImg.hidden = YES;
}

-(void)setContactPeopleM:(ContactPeopleModel *)contactPeopleM
{
    _contactPeopleM = contactPeopleM;
    _nameLab.text = contactPeopleM.username;
    [_headerImg sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",U76HOURL,contactPeopleM.headpic]] placeholderImage:[UIImage imageNamed:@"在职公司－默认头像.png"]];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
